//
//  log.h
//  mobile
//
//  Created by Demi on 6/29/16.
//  Copyright © 2016 azazie. All rights reserved.
//


#ifndef DLog
#ifdef DEBUG

#define DLog(fmt, ...) NSLog((@"%s [Line %d] %@" fmt), __PRETTY_FUNCTION__, __LINE__, [NSThread currentThread], ##__VA_ARGS__)

#define DLogVars(...) metamacro_foreach(_dlog_iterate,, __VA_ARGS__)

#define _dlog_iterate(INDEX, VAR) DLog(@"%s: %@", #VAR, (VAR));

#else
#define DLog(fmt, ...)
#define DLogVars(...)
#endif
#endif

/// method & class hooked, contact administrator if you want to change or remove.
#ifndef METHOD_HOOKED
#define METHOD_HOOKED(comment)
#endif
#ifndef CLASS_HOOKED
#define CLASS_HOOKED
#endif
